package com.kingboy.kbg.uums.center;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * Create By 郭金宝 on 2018/6/19.<br>
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients({
        "com.kingboy.kbg.uums.rest.account.api",
        "com.kingboy.kbg.uums.rest.authority.api",
        "com.kingboy.kbg.auth.api",
})
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
@EnableHystrix
public class ManageCenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManageCenterApplication.class, args);
    }
}
